package com.uphone.kingmall.bean;

import com.uphone.kingmall.base.BaseBean;

import java.util.List;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/16
 *     desc   :
 * </pre>
 */
public class GoodsListBean extends BaseBean<GoodsListBean.DataBean> {

    /**
     * msg : ok
     * asc : 1
     * current : 1
     * code : 0
     * pages : 3
     * data : [{"goodsId":24,"goodsMainImg":"http://192.168.1.251:8082/upload/images/goods/a0a8e73ac361423285c58ad315531cfa.jpg","goodsName":"vivo Z1 极光特别版","goodsPrice":1198,"goodsSaleNum":0,"synthetical":0,"props":[{"propName":"6GB+128GB极光特别版","propId":14,"goodsId":24,"prop":[{"goodsPropId":23,"addFee":200,"goodsPropVal":"100"}]}]},{"goodsId":29,"goodsMainImg":"http://192.168.1.251:8082/upload/images/goods/5e38470826e144ae9471bfdb172a5e82.jpg","goodsName":"HUAWEI/华为nova4","goodsPrice":3299,"goodsSaleNum":0,"synthetical":0,"props":[{"propName":"8GB+128GB亮黑色","propId":19,"goodsId":29,"prop":[{"goodsPropId":28,"addFee":20,"goodsPropVal":"100"}]}]},{"goodsId":14,"goodsMainImg":"http://192.168.1.251:8082/upload/images/goods/c8e122344c134210a67f3ff7e3980b3d.jpg","goodsName":"三星 Galaxy S10+","goodsPrice":6999,"goodsSaleNum":0,"synthetical":0,"props":[{"propName":"S10+8GB+128GB黑色","propId":11,"goodsId":14,"prop":[{"goodsPropId":18,"addFee":100,"goodsPropVal":"500"}]}]},{"goodsId":25,"goodsMainImg":"http://192.168.1.251:8082/upload/images/goods/8c7b7e3387ec4ef9a8edd5cd23ac7ab1.jpg","goodsName":"OPPO R17","goodsPrice":2589,"goodsSaleNum":0,"synthetical":0,"props":[{"propName":"6GB+128GB流光蓝","propId":15,"goodsId":25,"prop":[{"goodsPropId":24,"addFee":20,"goodsPropVal":"100"}]}]},{"goodsId":30,"goodsMainImg":"http://192.168.1.251:8082/upload/images/goods/5bc7046efcc840d184cbf177d72b3dec.jpg","goodsName":"小米9","goodsPrice":3299,"goodsSaleNum":0,"synthetical":0,"props":[{"propName":"8GB+128GB 全息幻彩紫","propId":20,"goodsId":30,"prop":[{"goodsPropId":29,"addFee":20,"goodsPropVal":"1100"}]}]},{"goodsId":16,"goodsMainImg":"http://192.168.1.251:8082/upload/images/goods/6f75e4d49a054b40b9c52f0c8076028c.jpg","goodsName":" 阿迅（著名央视主持人朱迅的伤痛之作，令无数读者泪流满面）","goodsPrice":43.6,"goodsSaleNum":0,"synthetical":0,"props":[]}]
     * count : 15
     * limit : 6
     */

    private int asc;
    private int current;
    private int pages;
    private int count;
    private int limit;

    public int getAsc() {
        return asc;
    }

    public void setAsc(int asc) {
        this.asc = asc;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public static class DataBean extends BaseBean.DataBean {
        /**
         * goodsId : 24
         * goodsMainImg : http://192.168.1.251:8082/upload/images/goods/a0a8e73ac361423285c58ad315531cfa.jpg
         * goodsName : vivo Z1 极光特别版
         * goodsPrice : 1198.0
         * goodsSaleNum : 0
         * synthetical : 0.0
         * props : [{"propName":"6GB+128GB极光特别版","propId":14,"goodsId":24,"prop":[{"goodsPropId":23,"addFee":200,"goodsPropVal":"100"}]}]
         */

        private int goodsId;
        private String goodsMainImg;
        private String goodsName;
        private double goodsPrice;
        private int goodsSaleNum;
        private double synthetical;
        private Float goodsScore;
        private Float juli;
        public int shopCarGoodsNum;
        private List<GoodsDetailBean.GoodsBean.PropsBean> props;

        public Float getGoodsScore() {
            return goodsScore;
        }

        public void setGoodsScore(Float goodsScore) {
            this.goodsScore = goodsScore;
        }

        public Float getJuli() {
            return juli;
        }

        public void setJuli(Float juli) {
            this.juli = juli;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsMainImg() {
            return goodsMainImg;
        }

        public void setGoodsMainImg(String goodsMainImg) {
            this.goodsMainImg = goodsMainImg;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public double getGoodsPrice() {
            return goodsPrice;
        }

        public void setGoodsPrice(double goodsPrice) {
            this.goodsPrice = goodsPrice;
        }

        public int getGoodsSaleNum() {
            return goodsSaleNum;
        }

        public void setGoodsSaleNum(int goodsSaleNum) {
            this.goodsSaleNum = goodsSaleNum;
        }

        public double getSynthetical() {
            return synthetical;
        }

        public void setSynthetical(double synthetical) {
            this.synthetical = synthetical;
        }

        public List<GoodsDetailBean.GoodsBean.PropsBean> getProps() {
            return props;
        }

        public void setProps(List<GoodsDetailBean.GoodsBean.PropsBean> props) {
            this.props = props;
        }
    }
}
